home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / WWW / http / www.wirenet.co.uk / files / getstatus.lha / GetStatus
Text File  |  1998-01-01  |  494b  |  22 lines

  1. /* Get status from U-Net and display if information has changed */
  2.  
  3. options results
  4. address command
  5.  
  6. /* Change these if you need to */
  7. StatusFile = 'S:U-Net.Status'
  8. Fingercmd  = 'finger'
  9. Window     = 'CON:0/0/615/200/Status/AUTO/CLOSE/WAIT/INACTIVE'
  10.  
  11. /* Don't change these */
  12. Server     = 'status@status.u-net.net'
  13.  
  14. OldSize = subword(statef(StatusFile),2,1)
  15. FingerCmd Server '>'StatusFile
  16. NewSize = subword(statef(StatusFile),2,1)
  17.  
  18. if NewSize ~= OldSize then 'Type' StatusFile '>'Window
  19.  
  20. exit
  21.  
  22.